package com.waigoulin.domain.order.adapter.port;


import com.alipay.api.AlipayApiException;
import com.waigoulin.domain.order.model.entity.PayOrderEntity;

import java.math.BigDecimal;

/**
* @FileName IPaymentPort
* @Description 订单服务基础设施层接口
* @Author waigoulin
* @date 2025-07-31
**/
public interface IPaymentPort {

    PayOrderEntity createPayment(String userId, String productId, String productName, String orderId, BigDecimal totalAmount) throws AlipayApiException;

}
